package com.neuedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author 王禹
 * @since 2025-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("pms_order")
public class PmsOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单价格(分)
     */
    private Integer price;

    /**
     * 订单类型
     */
    private String type;

    /**
     * 关联业务单据编号
     */
    private String no;

    /**
     * 创建日期
     */
    private LocalDate createDate;

    /**
     * 创建时间
     */
    private LocalTime createTime;

    /**
     * 创建人id
     */
    private Long userId;

    /**
     * 1-未付款,2-已付款,3-可退款,4-已退款
     */
    private Byte active;

    private String registerNo;
}
